CXX := /opt/arm-fullhanv3-linux-uclibcgnueabi-b6/bin/arm-fullhanv3-linux-uclibcgnueabi-g++
EXTRA_FLAGS := -mfloat-abi=hard -mfpu=neon-vfpv4 -mcpu=cortex-a7 -D_GNU_SOURCE

all: 
	$(CXX) -Iinclude ${EXTRA_FLAGS} evb.cpp SerialPort.cpp -o evb
	g++ -Iinclude x86.cpp SerialPort.cpp -o x86

clean:
	-rm evb x86
